
<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" th:href="@{/static/after/static/h-ui/css/H-ui.min.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/static/after/static/h-ui.admin/css/H-ui.admin.css}" />
<link rel="stylesheet" type="text/css" th:href="@{/static/after/lib/Hui-iconfont/1.0.8/iconfont.css}" />

<link rel="stylesheet" type="text/css" th:href="@{/static/after/static/h-ui.admin/skin/default/skin.css}" id="skin" />
<link rel="stylesheet" type="text/css" th:href="@{/static/after/static/h-ui.admin/css/style.css}" />

<link th:href="@{/static/after/lib/webuploader/0.1.5/webuploader.css}" rel="stylesheet" type="text/css" />
</head>
<title>产品信息修改</title>
<body>
<div class="page-container" >
	<form method="post"  class="form form-horizontal" id="form-article-add" th:action="@{/afters/doproductupdate}">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2" >产品名称：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text"  placeholder=""  name="gname"  th:value="${toupdate.gname}" />
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">产品规格：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" name="gid"  placeholder="输入三级商品分类Id" th:value="${toupdate.gid}" class="input-text" style=" width:25%">
				--
				<input type="text" name="firid"  placeholder="输入一级商品分类Id" th:value="${toupdate.firid}" class="input-text" style=" width:25%">
				--
				<input type="text" name="secid"  placeholder="输入二级商品分类Id" th:value="${toupdate.secid}" class="input-text" style=" width:25%">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">产品热度：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" name="hot"  placeholder="" th:value="${toupdate.hot}" class="input-text">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">产品发布时间：</label>
			<div class="formControls col-xs-8 col-sm-9">

				<input type="text" name="uptime" placeholder="" th:value="${#dates.format(toupdate.uptime,'yyyy-MM-dd')}" class="input-text">
			</div>

		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">简介：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" name="introduct" placeholder="" th:value="${toupdate.introduct}" class="input-text">
			</div>

		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">服务：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" name="service" placeholder="" th:value="${toupdate.service}" class="input-text">
			</div>

		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-2">产品价格：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" name="price"  placeholder="" th:value="${toupdate.price}" class="input-text" style="width:90%">
				元</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<button  class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存并提交审核</button>
				<button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
			</div>
		</div>
	</form>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" th:src="@{/static/after/lib/jquery/1.9.1/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/static/after/lib/layer/2.4/layer.js}"></script>
<script type="text/javascript" th:src="@{/static/after/static/h-ui/js/H-ui.min.js}"></script>
<script type="text/javascript" th:src="@{/static/after/static/h-ui.admin/js/H-ui.admin.js}"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" th:src="@{/static/after/lib/My97DatePicker/4.8/WdatePicker.js}"></script>
<script type="text/javascript" th:src="@{/static/after/lib/jquery.validation/1.14.0/jquery.validate.js}"></script>
<script type="text/javascript" th:src="@{/static/after/lib/jquery.validation/1.14.0/validate-methods.js}"></script>
<script type="text/javascript" th:src="@{/static/after/lib/jquery.validation/1.14.0/messages_zh.js}"></script>
<script type="text/javascript" th:src="@{/static/after/lib/webuploader/0.1.5/webuploader.min.js}"></script>
<script type="text/javascript" th:src="@{/static/after/lib/ueditor/1.4.3/ueditor.config.js}"></script>
<script type="text/javascript" th:src="@{/static/after/lib/ueditor/1.4.3/ueditor.all.min.js}"> </script>
<script type="text/javascript" th:src="@{/static/after/lib/ueditor/1.4.3/lang/zh-cn/zh-cn.js}"></script>
<script type="text/javascript">
$(function() {
    $('.skin-minimal input').iCheck({
        checkboxClass: 'icheckbox-blue',
        radioClass: 'iradio-blue',
        increaseArea: '20%'
    });

    $list = $("#fileList"),
        $btn = $("#btn-star"),
        state = "pending",
        uploader;

});
$(function(){
	var ue = UE.getEditor('editor');
});
</script>
</body>
</html>